PKGDIR = /usr/share/jdesktop

all: 
	@../tools/py-compile *.py 

clean:
	rm -fv *.pyc *.pyo *~ *.bak *.gladep *.o *.so

install:
	mkdir -p $(DESTDIR)/usr/share/jdesktop
	install -m755 *.pyc $(DESTDIR)/$(PKGDIR)/.
	install -m755 *.py $(DESTDIR)/$(PKGDIR)/.
	install -m755 *.php $(DESTDIR)/$(PKGDIR)/.
	install -m644 interface.glade $(DESTDIR)/$(PKGDIR)/.
	 
